home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / g_man / cat3 / ftn / rdr.z / rdr
Encoding:
Text File  |  2002-10-03  |  4.5 KB  |  133 lines

  1.  
  2.  
  3.  
  4. rrrrddddrrrr((((3333GGGG))))                                                                rrrrddddrrrr((((3333GGGG))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      rrrrddddrrrr,,,, rrrrddddrrrriiii,,,, rrrrddddrrrrssss,,,, rrrrddddrrrr2222,,,, rrrrddddrrrr2222iiii,,,, rrrrddddrrrr2222ssss - relative draw
  10.  
  11. FFFFOOOORRRRTTTTRRRRAAAANNNN 77777777 SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  12.      ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee rrrrddddrrrr((((ddddxxxx,,,, ddddyyyy,,,, ddddzzzz))))
  13.      rrrreeeeaaaallll ddddxxxx,,,, ddddyyyy,,,, ddddzzzz
  14.  
  15.      ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee rrrrddddrrrriiii((((ddddxxxx,,,, ddddyyyy,,,, ddddzzzz))))
  16.      iiiinnnntttteeeeggggeeeerrrr****4444 ddddxxxx,,,, ddddyyyy,,,, ddddzzzz
  17.  
  18.      ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee rrrrddddrrrrssss((((ddddxxxx,,,, ddddyyyy,,,, ddddzzzz))))
  19.      iiiinnnntttteeeeggggeeeerrrr****2222 ddddxxxx,,,, ddddyyyy,,,, ddddzzzz
  20.  
  21.      ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee rrrrddddrrrr2222((((ddddxxxx,,,, ddddyyyy))))
  22.      rrrreeeeaaaallll ddddxxxx,,,, ddddyyyy
  23.  
  24.      ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee rrrrddddrrrr2222iiii((((ddddxxxx,,,, ddddyyyy))))
  25.      iiiinnnntttteeeeggggeeeerrrr****4444 ddddxxxx,,,, ddddyyyy
  26.  
  27.      ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee rrrrddddrrrr2222ssss((((ddddxxxx,,,, ddddyyyy))))
  28.      iiiinnnntttteeeeggggeeeerrrr****2222 ddddxxxx,,,, ddddyyyy
  29.  
  30.      All of the above routines are functionally the same.  They differ only in
  31.      the type declarations of their parameters and whether or not they assume
  32.      a two- or three-dimensional space.
  33.  
  34. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  35.      _d_x   expects the distance from the x coordinate of the current graphics
  36.           position to the x coordinate of the new point.
  37.  
  38.      _d_y   expects the distance from the y coordinate of the current graphics
  39.           position to the y coordinate of the new point.
  40.  
  41.      _d_z   expects the distance from the z coordinate of the current graphics
  42.           position to the z coordinate of the new point.
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. rrrrddddrrrr((((3333GGGG))))                                                                rrrrddddrrrr((((3333GGGG))))
  71.  
  72.  
  73.  
  74. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  75.      rrrrddddrrrr is the relative version of ddddrrrraaaawwww.  It connects the current graphics
  76.      position and a point, at the specified distance, with a line segment
  77.      using the current linestyle, linewidth, color (if in depth-cue mode, the
  78.      depth-cued color is used), and writemask.  The system updates the current
  79.      graphics position to the new point.
  80.  
  81.      Do not place routines that invalidate the current graphics position
  82.      within sequences of relative moves and draws.
  83.  
  84. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  85.      bgnlin, endlin, popmat, pushma, rmv, transl, v
  86.  
  87. NNNNOOOOTTTTEEEE
  88.      rrrrddddrrrr should not be used in new development.  Rather, lines should be drawn
  89.      using the high-performance vvvv commands, surrounded by calls to bbbbggggnnnnlllliiiinnnn and
  90.      eeeennnnddddlllliiiinnnn.  Matrix commands ppppuuuusssshhhhmmmmaaaa, ttttrrrraaaannnnssssllll, and ppppooooppppmmmmaaaatttt should be used to
  91.      accomplish relative positioning.
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.